from django.shortcuts import render

# Create your views here.
from django.http import HttpResponse
def book(request):
    return HttpResponse("图书首页")

def book_classify(request,book_id,book_classifys):
    return HttpResponse("你的图书id是 {},分类是 {}".format(book_id,book_classifys))

def author(request):
    author_id = request.GET.get('id')
    return HttpResponse("作者的id是:{}".format(author_id))